package com.dunqi.gpm.cangxi.home.bean;

/**
 * Created by 空 on 2017/12/5 0005.
 */

public class Compared {

    int code;

    String des;

    public Compared(int code, String des) {
        this.code = code;
        this.des = des;
    }


    public String getDesByCode(int code) {
        if (this.code == code) {
            return des;
        }
        return "";
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }
}
